import request from '@/utils/request'

// 查询设备数
export function deviceNumber(params?: any) {
    return request.get({ url: '/stormdrain/console', params })
}

// 查询设备数
export function deviceNumberLevel(params?: any) {
    return request.get({ url: '/stormdrain/consoleLevel', params })
}

//站点液位排行
export function levelRanking(params?: any) {
    return request.get({ url: '/stormdrain/levelRanking', params })
}
//事件日志查询
export function eventList(params?: any) {
    return request.get({ url: '/stormdrain/eventList', params })
}
//查询天气
export function Getweathermap(params?: any) {
    return request.get({ url: '/index/map', params })
}
//查询系统日志
export function Systemlog(params?: any) {
    return request.get({ url: '/system/log/operate', params })
}